package ca.concordia.soen6461.wichf.dao.mem;

import ca.concordia.soen6461.wichf.dao.UserDao;
import ca.concordia.soen6461.wichf.entity.User;

public class UserMemDao implements UserDao {

	public UserMemDao() {
	}

	@Override
	public void save(User user) {
		DB.userTable.save(user);
	}

	@Override
	public User load(String id) {
		User user = new User();
		user.setId(id);
		return DB.userTable.get(user);
	}

}
